package com.interview.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.interview.entity.Schedule;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ScheduleMapper extends BaseMapper<Schedule> {
    @Select("SELECT number FROM schedule WHERE schedule.group_id=#{groupId}")
    List<String> getDrawLotsAwaitList(String groupId);
}
